/*
 * @Author: xiaoyangzhao
 * @Date:   2018-04-02 18:10:38
 * @Last Modified by:   xiaoyangzhao
 * @Last Modified time: 2019-08-06 16:29:29
 */
// import 'babel-polyfill'
import { MyWindow } from './types'

const routers = {
  mock: {
    // origin: 'http://rap2api.taobao.org/',
    origin: 'http://yapi.zhichengcredit.corp/mock/54/',
    path: ''
  },
  dev: {
    origin: 'http://echo-sky-dev6.zhichengcredit.com/',
    path: ''
  },
  prod: {
    origin: 'https://sky.zhichengcredit.com/',
    path: 'app/mock/template/49701'
  }
}

declare var window: MyWindow
const route_origins = window.route_origins
const route_origin = 'http://10.143.129.11:8080/app/mock/19/'
const route_path_post = 'POST/'
const route_path_get = ''

export {
  routers,
  route_origin,
  route_origins,
  route_path_post,
  route_path_get
}
